package com.macro.mall.portal.service;

import com.macro.mall.dto.BmsTourismProjectActivitiesDetail;
import com.macro.mall.dto.BmsTourismProjectActivitiesParam;
import com.macro.mall.model.BmsTourismProjectActivities;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface BmsTourismProjectActivitiesService {

    /**
     * 分页获取文旅项目
     */
    List<BmsTourismProjectActivities> getList(BmsTourismProjectActivitiesParam bmsTourismProjectActivitiesParam);

    /**
     * 获取单个文旅项目详情
     */
    BmsTourismProjectActivitiesDetail getItem(Long id);

    List<BmsTourismProjectActivitiesDetail> getHotProjectActivities(
            BmsTourismProjectActivitiesParam bmsTourismProjectActivitiesParam);

    List<BmsTourismProjectActivitiesDetail> getTestimonialsProjectActivities(
            BmsTourismProjectActivitiesParam bmsTourismProjectActivitiesParam);

    List<BmsTourismProjectActivitiesDetail> getReserveProjectActivities(
            BmsTourismProjectActivitiesParam bmsTourismProjectActivitiesParam, HttpServletRequest request);

    int getActivitiesHasRegistrationNum(Long activitiesId);

    boolean isHasApplicant(Long id);

}
